# Copyright 2023 The TensorFlow Authors. All Rights Reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
#     http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
# ==============================================================================

from typing import Any, Dict, List, Tuple

class tensorflow::grappler::Cluster:
    def __init__(self, *args, **kwargs) -> None: ...

def TF_DeterminePeakMemoryUsage(arg0, arg1) -> Dict[str,Tuple[int,List[Tuple[str,int,int,int,int]]]]: ...
def TF_EstimatePerformance(arg0: bytes) -> float: ...
def TF_GetSupportedDevices(arg0, arg1) -> Dict[str,List[str]]: ...
def TF_ListAvailableOps() -> List[str]: ...
def TF_ListDevices(arg0) -> List[bytes]: ...
def TF_MeasureCosts(arg0, arg1, arg2: bool) -> Tuple[List[bytes],float,bytes]: ...
def TF_NewCluster(*args, **kwargs) -> Any: ...
def TF_NewVirtualCluster(*args, **kwargs) -> Any: ...
def TF_ShutdownCluster(arg0) -> None: ...
